package com.polaris.server.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 新建用户的参数实体类
 * @author CNPolaris
 * @version 1.0
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "新建用户的参数实体类")
public class UserCreateParam {
    @ApiModelProperty(value = "用户名")
    private String username;
    @ApiModelProperty(value = "密码")
    private String password;
    @ApiModelProperty(value = "邮件")
    private String email;
    @ApiModelProperty(value = "访问规则")
    private String rule;
    @ApiModelProperty(value = "权限等级")
    private Integer grade;
    @ApiModelProperty(value = "用户是否可用")
    private Integer enable;

}
